<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:if test="${empty idInSession }">
	<form action="${pageContext.request.contextPath }/member/login.do"
		onsubmit="return input_check(this)">
		<table style="background-image: url('images/loginbg.jpg');">
			<tr>
				<th align="left" width="27px"></th>
				<td><input name="mem_id" type="text" size="13" value="아이디" />
					<input type="submit" value="Login"
					style="width: 80px; background-color: #5492df; font-weight: bold; color: white; border: solid 2px white;" />
				</td>
			</tr>
			<tr>
				<th align="left" width="27px"></th>
				<td><input name="mem_passwd" type="text" size="13" value="패스워드" />
					<input type="button" value="Id/Pw"
					style="background-color: #5492df; width: 80px; font-weight: bold; color: white; border: solid 2px white" />
				</td>
			</tr>
		</table>
	</form>
</c:if>

<c:if test="${!empty idInSession }">
	<form action="${pageContext.request.contextPath }/member/logout.do" onsubmit="return input_check(this)">
		<table id="logout">
			<tr>
				<td align="center" width="70px">${idInSession}님 환영합니다.</td>
			</tr>
			<tr>
				<td align="center">
				<input type="submit" value="LogOut"	class="lout"
					style="background-color: #5492df; width: 70px; font-weight: bold; color: white; border: solid 2px white;" /></td>
			</tr>
		</table>
	</form>
</c:if>